package com.yeyks.consumer.dal.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 用户创客信息
 * </p>
 *
 * @author yun
 * @since 2020-03-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="UserMaker对象", description="用户创客信息")
public class UserMaker implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "用户id")
    @TableField("user_id")
    private Integer userId;

    @ApiModelProperty(value = "用户等级")
    @TableField("maker_level")
    private Integer makerLevel;

    @ApiModelProperty(value = "用户邀请等级")
    @TableField("maker_invite_level")
    private Integer makerInviteLevel;

    @ApiModelProperty(value = "定位省")
    @TableField("local_Province")
    private String localProvince;

    @ApiModelProperty(value = "定位城市")
    @TableField("local_City")
    private String localCity;

    @ApiModelProperty(value = "定位城市")
    @TableField("create_time")
    private Date createTime;

    @ApiModelProperty(value = "升级经验")
    @TableField("experience")
    private Integer experience;


    public static final String ID = "id";

    public static final String USER_ID = "user_id";

    public static final String MAKER_LEVEL = "maker_level";

    public static final String MAKER_INVITE_LEVEL = "maker_invite_level";

    public static final String LOCAL_PROVINCE = "local_Province";

    public static final String LOCAL_CITY = "local_City";

    public static final String CREATE_TIME = "create_time";

    public static final String EXPERIENCE = "experience";

}
